import {createPinia} from 'pinia'
import persist from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(persist)

export default pinia

// import {useUserStore} from '@/stores/user.js'
// export {useUserStore}

export * from './modules/user.js'  // 接收user模块的所有按需导出
